package com.xafc.demo.sys.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;


@Controller
@RequestMapping("/")
public class IndexController {

    @GetMapping("/index")
    public String index(HttpServletRequest request){
        return "index";
    }

    @GetMapping("/space")
    public String space(HttpServletRequest request){
        return "space";
    }
}
